package pres.wchen.oa.cor.shiro.model;

import org.apache.ibatis.type.Alias;

import java.io.Serializable;

@Alias("sysUser")
public class SysUser implements Serializable{

	private Long id;

	/**
	 * 
	 * 用户名
	 */
	private String username;

	/**
	 * 
	 * 密码
	 */
	private String password;

	/**
	 * 
	 * 盐
	 */
	private String salt;

	/**
	 * 
	 * 是否锁定 1是0否
	 */
	private Integer isLocked;

	/**
	 * 
	 * 账号状态
	 */
	private String status;

	/**
	 * 
	 * 创建时间
	 */
	private String createTime;

	/**
	 * 
	 * 创建人用户id
	 */
	private Long createUserId;

	/**
	 * 
	 * 创建人用户名
	 */
	private String createUserName;

	/**
	 * 
	 * 最后修改时间
	 */
	private String lastUpdateTime;

	/**
	 * 
	 * 最后修改人用户id
	 */
	private Long lastUpdateUserId;

	/**
	 * 
	 * 最后修改用户名
	 */
	private String lastUpdateUserName;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getSalt() {
		return salt;
	}

	public void setSalt(String salt) {
		this.salt = salt;
	}

	public Integer getIsLocked() {
		return isLocked;
	}

	public void setIsLocked(Integer isLocked) {
		this.isLocked = isLocked;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public Long getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	public String getCreateUserName() {
		return createUserName;
	}

	public void setCreateUserName(String createUserName) {
		this.createUserName = createUserName;
	}

	public String getLastUpdateTime() {
		return lastUpdateTime;
	}

	public void setLastUpdateTime(String lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public Long getLastUpdateUserId() {
		return lastUpdateUserId;
	}

	public void setLastUpdateUserId(Long lastUpdateUserId) {
		this.lastUpdateUserId = lastUpdateUserId;
	}

	public String getLastUpdateUserName() {
		return lastUpdateUserName;
	}

	public void setLastUpdateUserName(String lastUpdateUserName) {
		this.lastUpdateUserName = lastUpdateUserName;
	}

}